-
Notifications
You must be signed in to change notification settings - Fork 890
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added pyproject extra to install toml package as an optional dependency #964
Conversation
👎 Should be marked as an optional dependency. |
@GrahamCampbell not optional when it is being used directly in one of the YAPF modules. |
The code expects it to be missing and handles that case. Totally not the same as just straight up importing it. |
I have to agree with @GrahamCampbell here. |
I think this change is reasonable considering |
@gwelymernans I have made the necessary adjustments. |
Question: why toml can not simply be a normal dependency? I mean, in the end yapf is just a developer dependency it actually wont affect any program performance. |
Can you guys merge this? |
Sorry about the lateness. Done. |
google/yapf#964 needs to be released before we can use `yapf[pyproject]`.
google/yapf#964 needs to be released before we can use `yapf[pyproject]`.
This patch fixes #936